Skip to content

Applies to

net11.0, net10.0, net47, net471, net472, net48, net481

void Edit(Action<ICollection<T>> editAction)

Summary: Performs a batch edit operation on the collection, ensuring only a single change notification is emitted.

Parameters

NameTypeDescription
editActionAction> (opens in a new tab)An action that receives an editable list interface to perform modifications.

Remarks

Use this method when making multiple modifications to the collection to improve efficiency by reducing the number of change notifications. All operations within the edit action are applied atomically.